package com.dqhl.businessapp.fragment;

import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.dqhl.businessapp.R;
import com.dqhl.businessapp.base.BaseFragment;

/**
 * Created by mac on 16/11/23.
 * 管理fragment
 */
public class ManagementFragment extends BaseFragment {

    private Context context;
    private View view;
    private TextView tv_top_title;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        view = inflater.inflate(R.layout.fragment_management, container, false);
        context = getActivity();

        initView(view);
        initData();

        return view;
    }

    private void initView(View view) {
        tv_top_title = (TextView) view.findViewById(R.id.tv_top_title);
    }

    private void initData() {
        tv_top_title.setText("管 理");
    }
}
